package domain;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class order_detail {
	private Long id;
	private String order_no;
	private Long user_id;
	private Long product_id;
	private String product_name;
	private String product_image;
	private BigDecimal current_unit_price;
	private Long quantity;
	private BigDecimal total_price;
	private Timestamp create_time;
	private Timestamp update_time;
	public Long getId() {
		return id;
	}
	public String getOrder_no() {
		return order_no;
	}
	public Long getUser_id() {
		return user_id;
	}
	public Long getProduct_id() {
		return product_id;
	}
	public String getProduct_name() {
		return product_name;
	}
	public String getProduct_image() {
		return product_image;
	}
	public BigDecimal getCurrent_unit_price() {
		return current_unit_price;
	}
	public Long getQuantity() {
		return quantity;
	}
	public BigDecimal getTotal_price() {
		return total_price;
	}
	public Timestamp getCreate_time() {
		return create_time;
	}
	public Timestamp getUpdate_time() {
		return update_time;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public void setOrder_no(String order_no) {
		this.order_no = order_no;
	}
	public void setUser_id(Long user_id) {
		this.user_id = user_id;
	}
	public void setProduct_id(Long product_id) {
		this.product_id = product_id;
	}
	public void setProduct_name(String product_name) {
		this.product_name = product_name;
	}
	public void setProduct_image(String product_image) {
		this.product_image = product_image;
	}
	public void setCurrent_unit_price(BigDecimal current_unit_price) {
		this.current_unit_price = current_unit_price;
	}
	public void setQuantity(Long quantity) {
		this.quantity = quantity;
	}
	public void setTotal_price(BigDecimal total_price) {
		this.total_price = total_price;
	}
	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}
	public void setUpdate_time(Timestamp update_time) {
		this.update_time = update_time;
	}
	@Override
	public String toString() {
		return "order_detail [id=" + id + ", order_no=" + order_no + ", user_id=" + user_id + ", product_id="
				+ product_id + ", product_name=" + product_name + ", product_image=" + product_image
				+ ", current_unit_price=" + current_unit_price + ", quantity=" + quantity + ", total_price="
				+ total_price + ", create_time=" + create_time + ", update_time=" + update_time + "]";
	}
	

}
